fftools: do not access out of bounds filtergraph
authorMarvin Scholz <epirat07@gmail.com>
Tue, 1 Oct 2024 00:57:11 +0000 (02:57 +0200)
committerSebastian Ramacher <sramacher@debian.org>
Fri, 21 Feb 2025 12:16:27 +0000 (13:16 +0100)
commit0b6a76b8e0d0c2e3cba24c29c7cb5f772054266b
tree1d80882f21ecfab07ffb2b9eeb3c8a357fa6c587
parentd7a460a04b973540ff8e6d284460a44cce934115
fftools: do not access out of bounds filtergraph

The log message was logged for `filtergraphs[j]` which would cause a
heap buffer overflow in certain circumstances.

Correctly it should be logged for the current filtergraph, so just
use `fg` here.

(cherry picked from commit 5beeb3a1f97d8f6d4076fe83aaf5e2e5871f945e)

Gbp-Pq: Name 0005-fftools-do-not-access-out-of-bounds-filtergraph.patch
fftools/ffmpeg_filter.c